Operating System Event Manager
GetNextEvent Obtain next available event of specified type(s) EventAvail Get an event without removing it from the queue FlushEvents Discard all or selected events from event queue GetOSEvent Low-level read ( remove) next event from queue Mouse and Keys
Button See if the mouse button is up or down GetMouse Obtain the current position of the mouse StillDown See if button remained down since last pressed WaitMouseUp Test mouse still down and discard mouseUp event GetKeys Get a map of the state (up or down) of all keys KeyTrans Map virtual key codes to ASCII values GetDblTime Find max delay between clicks of a double click